package com.bootdo.payee.dao;

import com.bootdo.payee.domain.PayeeAgentDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface PayeeAgentDao {

    List<PayeeAgentDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    int save(PayeeAgentDO payeeAgentDO);

    PayeeAgentDO get(Long id);

    int update(PayeeAgentDO payeeAgentDO);

    List<PayeeAgentDO> queryPayeeAgentList(Long userId);
}
